<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>购物车</title>
		<link rel="stylesheet" href="css/shopping.css">
		<script src="./js/shopping.js"></script>
	</head>
	<body>
		<div class="box">
			<input type="button" id="btnClose" value="关闭" onclick="closePage()">
			<img src="./img/dd_logo.jpg">
			<img src="./img/shoppingBg.jpg">
			<ul>
				<li>
					￥<span name="price">18</span>
					<button onclick="sub(0)">-</button>
					<input name="count" type="text" value="1" size="5" onclick="countInput(0)">
					<button onclick="add(0)">+</button>
					￥<span name="total">18</span>
				</li>
				<li>
					￥<span name="price">20</span>
					<button onclick="sub(1)">-</button>
					<input name="count" type="text" value="1" size="5">
					<button onclick="add(1)">+</button>
					￥<span name="total">20</span>
				</li>
			</ul>
			<p id="allTotal">38</p>
		</div>
	</body>
</html>
